export function addAction(val) {
    return { type: "add", data: val }
}
export function disAction(val) {
    return { type: "dis", data: val }
}
export function addAsyncAction(val) {
    return (dispatch) => {
        setTimeout(() => {
            // dispatch({ type: "addAsync", data:val })
            dispatch(addAction(val))
        }, 2000)
    }
}
